package com.zjh.admin.app.mapper;

import com.zjh.admin.app.model.CommentEntity;
import com.zjh.core.base.basemapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author WYX
 * @Description TODO
 * @Date 2019/11/17 18:03
 */
@Repository
public interface CommentMapper extends BaseMapper<CommentEntity,Long>{
    int countCommentByUid(int uId);
    List<CommentEntity> queryListByVideo(int vId);
    List<CommentEntity> queryListByUser(int uId);
}
